import Vue from 'vue'
import App from './App'
import * as filters from "./utils/filters.js"; // global filter
import store from './store'
import install from '@/libs/index.js'
import config from '@/config/config';
/**
 * 全局filters
 */

Object.keys(filters).forEach((key) => {
	Vue.filter(key, filters[key]);
});
// 主题色
Vue.prototype.$mainColor = config.mainColor;
// 高亮主题色
Vue.prototype.$lightColor = config.lightColor;
// 辅助高亮颜色
Vue.prototype.$aiderLightColor = config.aiderLightColor;
Vue.config.productionTip = false
App.mpType = 'app'
Vue.use(install);
const app = new Vue({
	...App,
	store
})
app.$mount()